package com.ruoyi.db.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道联登基本信息对象 ml_channel_union_base_info
 * 
 * @author ruoyi
 * @date 2023-06-08
 */
public class ChannelUnionBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    private String channelCode;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelName;

    /** 加密类型 */
    @Excel(name = "加密类型")
    private String encryptType;

    /**  */
    @Excel(name = "")
    private String appKey;

    /**  */
    @Excel(name = "")
    private String appSecret;

    /**  */
    @Excel(name = "")
    private String pubKey;

    /**  */
    @Excel(name = "")
    private String priKey;

    /** 状态（0 不可用）（1 可用） */
    @Excel(name = "状态", readConverterExp = "0=,不=可用")
    private Integer status;

    /**  */
    @Excel(name = "")
    private String unionProdIds;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setChannelCode(String channelCode) 
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode() 
    {
        return channelCode;
    }
    public void setChannelName(String channelName) 
    {
        this.channelName = channelName;
    }

    public String getChannelName() 
    {
        return channelName;
    }
    public void setEncryptType(String encryptType) 
    {
        this.encryptType = encryptType;
    }

    public String getEncryptType() 
    {
        return encryptType;
    }
    public void setAppKey(String appKey) 
    {
        this.appKey = appKey;
    }

    public String getAppKey() 
    {
        return appKey;
    }
    public void setAppSecret(String appSecret) 
    {
        this.appSecret = appSecret;
    }

    public String getAppSecret() 
    {
        return appSecret;
    }
    public void setPubKey(String pubKey) 
    {
        this.pubKey = pubKey;
    }

    public String getPubKey() 
    {
        return pubKey;
    }
    public void setPriKey(String priKey) 
    {
        this.priKey = priKey;
    }

    public String getPriKey() 
    {
        return priKey;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setUnionProdIds(String unionProdIds) 
    {
        this.unionProdIds = unionProdIds;
    }

    public String getUnionProdIds() 
    {
        return unionProdIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("channelCode", getChannelCode())
            .append("channelName", getChannelName())
            .append("encryptType", getEncryptType())
            .append("appKey", getAppKey())
            .append("appSecret", getAppSecret())
            .append("pubKey", getPubKey())
            .append("priKey", getPriKey())
            .append("status", getStatus())
            .append("unionProdIds", getUnionProdIds())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
